var loginvue = new Vue({
	el: '#loginid',
	data: {
		loginlist: {
		account:'admin',
		password:'Qq123456'
		}
	},
	methods: {
		userloginfn: function() {
			axios
				.post(HH_URL + LoginIn, loginvue.loginlist)
				.then(response => {
					layer.msg(response.data.msg);
					if (response.data.status == 200) {
						localStorage.setItem('HH_T', JSON.stringify(response.data.data) );
						localStorage.setItem('HH_TICKET', response.data.data.ticket );
						window.location.href = '../#/video/list'
					}
					console.log(response)
				})
				.catch(function(error) { // 请求失败处理
					console.log(error);
				});
		}

	}
})
